ArcPad Layer Definition File Schema
FORMS Element
See Also  Send comments on this topic.
ArcPad Layer Definition File Schema > ArcPad Element > LAYER Element : FORMS Element

Glossary Item Box

Description

The parent element for defining an ArcPad form.

Diagram

QUERYFORM Element IDENTIFYFORM Element EDITFORM Element FORM Element Sequence FORMS Element

Overview

FORMS
The parent element for defining an ArcPad form.
Sequence
FORM 1..∞
Used to define an ArcPad form.
EDITFORM
Used to define an edit form in an ArcPad layer definition.
height required Restriction of xs:int
width required Restriction of xs:int
attributespagevisible optional Restriction of xs:string
Specifies whether the Attributes page should be displayed with the edit form.
backgroundcolor optional xs:string
caption optional xs:string
Displayed in the toolbar.
color optional xs:string
font optional xs:string
fontsize optional Restriction of xs:int
fontstyle optional Restriction of xs:string
geographypagevisible optional Restriction of xs:string
Specifies whether the Geography page should be displayed with the edit form.
oncancel optional xs:string
Specify the script to run when this event occurs.
onkillactive optional xs:string
Specify the script to run when this event occurs.
onload optional xs:string
Specify the script to run when this event occurs.
onok optional xs:string
Specify the script to run when this event occurs.
onrefresh optional xs:string
Specify the script to run when this event occurs.
onsetactive optional xs:string
Specify the script to run when this event occurs.
onunload optional xs:string
Specify the script to run when this event occurs.
picturepagevisible optional Restriction of xs:string
Specifies whether the Picture page should be displayed with the edit form.
sip optional Restriction of xs:string
symbologypagevisible optional Restriction of xs:string
Specifies whether the Symbology page should be displayed with the edit form.
tabsvisible optional Restriction of xs:string
Sequence
PAGE 1..∞
Used to define a page of an ArcPad form.
PICTUREPAGE
Used to define a picture page in a form
Sequence
PICTUREFIELD 1..∞
Used to define table fields used to store a photo path. Must be string fields.
TABLEFORM 1..∞
Used to define additional ArcPad pages that contain tables related to the feature
Sequence
PAGE
Used to define a page of an ArcPad form.
PICTUREPAGE
Used to define a picture page in a form.
Sequence
PICTUREFIELD 1..∞
Used to define table fields used to store a photo path. Must be string fields.
visible optional
Used to define if the related table rows for the specified table wil be available to the user or not.
Sequence 1..∞
COLUMN
Used to define which columns from the related table are shown in the list view.
field optional
Used to define the column name in the related table.
visible optional
Used to define if the column is visible or not (default = "true").
caption optional
Used to define the title of the column in the list view. Default is name of field.
width optional
Used to define the width of the column in pixels. Default is 50.
IDENTIFYFORM
Used to define an identify form in an ArcPad layer definition.
height required Restriction of xs:int
width required Restriction of xs:int
attributespagevisible optional Restriction of xs:string
Specifies whether the Attributes page should be displayed with the edit form.
backgroundcolor optional xs:string
caption optional xs:string
Displayed in the toolbar.
color optional xs:string
font optional xs:string
fontsize optional Restriction of xs:int
fontstyle optional Restriction of xs:string
geographypagevisible optional Restriction of xs:string
Specifies whether the Geography page should be displayed with the edit form.
oncancel optional xs:string
Specify the script to run when this event occurs.
onkillactive optional xs:string
Specify the script to run when this event occurs.
onload optional xs:string
Specify the script to run when this event occurs.
onok optional xs:string
Specify the script to run when this event occurs.
onrefresh optional xs:string
Specify the script to run when this event occurs.
onsetactive optional xs:string
Specify the script to run when this event occurs.
onunload optional xs:string
Specify the script to run when this event occurs.
picturepagevisible optional Restriction of xs:string
Specifies whether the Picture page should be displayed with the edit form.
sip optional Restriction of xs:string
symbologypagevisible optional Restriction of xs:string
Specifies whether the Symbology page should be displayed with the edit form.
tabsvisible optional Restriction of xs:string
Sequence
PAGE 1..∞
Used to define a page of an ArcPad form.
PICTUREPAGE
Used to define a picture page in a form
Sequence
PICTUREFIELD 1..∞
Used to define table fields used to store a photo path. Must be string fields.
TABLEFORM 1..∞
Used to define additional ArcPad pages that contain tables related to the feature
Sequence
PAGE
Used to define a page of an ArcPad form.
PICTUREPAGE
Used to define a picture page in a form.
Sequence
PICTUREFIELD 1..∞
Used to define table fields used to store a photo path. Must be string fields.
visible optional
Used to define if the related table rows for the specified table wil be available to the user or not.
Sequence 1..∞
COLUMN
Used to define which columns from the related table are shown in the list view.
field optional
Used to define the column name in the related table.
visible optional
Used to define if the column is visible or not (default = "true").
caption optional
Used to define the title of the column in the list view. Default is name of field.
width optional
Used to define the width of the column in pixels. Default is 50.
QUERYFORM
Used to define a query form in an ArcPad layer definition.
Sequence
PAGE 1..∞
Used to define a page of an ArcPad form.

Source

<xs:element name="FORMS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The parent element for defining an ArcPad form.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="FORM" maxOccurs="unbounded" />
      <xs:element name="EDITFORM">
        <xs:annotation>
          <xs:documentation>Used to define an edit form in an ArcPad layer definition.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="PAGE" maxOccurs="unbounded" />
            <xs:element name="PICTUREPAGE">
              <xs:annotation>
                <xs:documentation>Used to define a picture page in a form</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="PICTUREFIELD">
                    <xs:annotation>
                      <xs:documentation>Used to define table fields used to store a photo path. Must be string fields.</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="TABLEFORM" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Used to define additional ArcPad pages that contain tables related to the feature</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element ref="PAGE" />
                  <xs:element name="PICTUREPAGE">
                    <xs:annotation>
                      <xs:documentation>Used to define a picture page in a form.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element maxOccurs="unbounded" name="PICTUREFIELD">
                          <xs:annotation>
                            <xs:documentation>Used to define table fields used to store a photo path. Must be string fields.</xs:documentation>
                          </xs:annotation>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="LISTVIEW">
                    <xs:complexType>
                      <xs:sequence maxOccurs="unbounded">
                        <xs:element name="COLUMN">
                          <xs:annotation>
                            <xs:documentation>Used to define which columns from the related table are shown in the list view.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:attribute name="field">
                              <xs:annotation>
                                <xs:documentation>Used to define the column name in the related table.</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="visible">
                              <xs:annotation>
                                <xs:documentation>Used to define if the column is visible or not (default = "true").</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="caption">
                              <xs:annotation>
                                <xs:documentation>Used to define the title of the column in the list view. Default is name of field.</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="width">
                              <xs:annotation>
                                <xs:documentation>Used to define the width of the column in pixels. Default is 50.</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                      <xs:attribute name="visible">
                        <xs:annotation>
                          <xs:documentation>Used to define if the related table rows for the specified table wil be available to the user or not.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute use="required" ref="height">
            <xs:annotation>
              <xs:documentation>Form height.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute use="required" ref="width">
            <xs:annotation>
              <xs:documentation>Form width.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="true" ref="attributespagevisible">
            <xs:annotation>
              <xs:documentation>Specifies whether the Attributes page should be displayed with the edit form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="backgroundcolor">
            <xs:annotation>
              <xs:documentation>The background color to use for the edit form. This can be overridden by setting a page's or control's backgroundcolor attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="caption">
            <xs:annotation>
              <xs:documentation>Displayed in the titlebar of the edit form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="color">
            <xs:annotation>
              <xs:documentation>The color to use for the edit form's text. This can be overridden by setting a page's or control's color attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="font">
            <xs:annotation>
              <xs:documentation>The font for the edit form. This can be overridden by setting a page's or control's font attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="fontsize">
            <xs:annotation>
              <xs:documentation>The font size for the edit form. This can be overridden by setting a page's or control's fontsize attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="regular" ref="fontstyle">
            <xs:annotation>
              <xs:documentation>The font style for the edit form. This can be overridden by setting a page's or control's fontstyle attribute. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="true" ref="geographypagevisible">
            <xs:annotation>
              <xs:documentation>Specifies whether the Geography page should be displayed with the edit form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="" ref="oncancel">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onkillactive">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onload">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onok">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onrefresh">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onsetactive">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onunload">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="true" ref="picturepagevisible">
            <xs:annotation>
              <xs:documentation>Specifies whether the Picture page should be displayed with the edit form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="auto" ref="sip">
            <xs:annotation>
              <xs:documentation>Specifies whether the SIP (soft input panel) is displayed on pen devices by default when controls get the focus. Individual pages can override this setting with the sip attribute of the PAGE element.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="true" ref="symbologypagevisible">
            <xs:annotation>
              <xs:documentation>Specifies whether the Symbology page should be displayed with the edit form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="true" ref="tabsvisible">
            <xs:annotation>
              <xs:documentation>Flag that determines if page tabs are displayed for a single page edit form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="IDENTIFYFORM">
        <xs:annotation>
          <xs:documentation>Used to define an identify form in an ArcPad layer definition.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="PAGE" maxOccurs="unbounded" />
            <xs:element name="PICTUREPAGE">
              <xs:annotation>
                <xs:documentation>Used to define a picture page in a form</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element maxOccurs="unbounded" name="PICTUREFIELD">
                    <xs:annotation>
                      <xs:documentation>Used to define table fields used to store a photo path. Must be string fields.</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="TABLEFORM" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Used to define additional ArcPad pages that contain tables related to the feature</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element ref="PAGE" />
                  <xs:element name="PICTUREPAGE">
                    <xs:annotation>
                      <xs:documentation>Used to define a picture page in a form.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element maxOccurs="unbounded" name="PICTUREFIELD">
                          <xs:annotation>
                            <xs:documentation>Used to define table fields used to store a photo path. Must be string fields.</xs:documentation>
                          </xs:annotation>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="LISTVIEW">
                    <xs:complexType>
                      <xs:sequence maxOccurs="unbounded">
                        <xs:element name="COLUMN">
                          <xs:annotation>
                            <xs:documentation>Used to define which columns from the related table are shown in the list view.</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:attribute name="field">
                              <xs:annotation>
                                <xs:documentation>Used to define the column name in the related table.</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="visible">
                              <xs:annotation>
                                <xs:documentation>Used to define if the column is visible or not (default = "true").</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="caption">
                              <xs:annotation>
                                <xs:documentation>Used to define the title of the column in the list view. Default is name of field.</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="width">
                              <xs:annotation>
                                <xs:documentation>Used to define the width of the column in pixels. Default is 50.</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                      <xs:attribute name="visible">
                        <xs:annotation>
                          <xs:documentation>Used to define if the related table rows for the specified table wil be available to the user or not.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute use="required" ref="height">
            <xs:annotation>
              <xs:documentation>Form height.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute use="required" ref="width">
            <xs:annotation>
              <xs:documentation>Form width.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="attributespagevisible">
            <xs:annotation>
              <xs:documentation>Specifies whether the Attributes page should be displayed with the identify form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="backgroundcolor">
            <xs:annotation>
              <xs:documentation>The background color to use for the identify form. This can be overridden by setting a page's or control's backgroundcolor attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="caption">
            <xs:annotation>
              <xs:documentation>Displayed in the titlebar of the identify form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="color">
            <xs:annotation>
              <xs:documentation>The color to use for the identify form's text. This can be overridden by setting a page's or control's color attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="font">
            <xs:annotation>
              <xs:documentation>The font for the identify form. This can be overridden by setting a page's or control's font attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="fontsize">
            <xs:annotation>
              <xs:documentation>The font size for the identify form. This can be overridden by setting a page's or control's fontsize attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="regular" ref="fontstyle">
            <xs:annotation>
              <xs:documentation>The font style for the identify form. This can be overridden by setting a page's or control's fontstyle attribute. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="geographypagevisible">
            <xs:annotation>
              <xs:documentation>Specifies whether the Geography page should be displayed with the identify form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="oncancel">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onkillactive">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onload">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onok">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onrefresh">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onsetactive">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onunload">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="true" ref="picturepagevisible">
            <xs:annotation>
              <xs:documentation>Specifies whether the Picture page should be displayed with the identify form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="auto" ref="sip">
            <xs:annotation>
              <xs:documentation>Specifies whether the SIP (soft input panel) is displayed on pen devices by default when controls get the focus. Individual pages can override this setting with the sip attribute of the PAGE element.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="symbologypagevisible">
            <xs:annotation>
              <xs:documentation>Specifies whether the Symbology page should be displayed with the identify form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="tabsvisible">
            <xs:annotation>
              <xs:documentation>Flag that determines if page tabs are displayed for a single page identify form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="QUERYFORM">
        <xs:annotation>
          <xs:documentation>Used to define a query form in an ArcPad layer definition.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="PAGE" maxOccurs="unbounded" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.